<!DOCTYPE html>
Tests paint invalidation on resize of container with percentage-transform (causing change of paint offset, but no change of paint invalidation offset). Passes if there is a blue square and a green square side-by-side.
<div style="width: 600px; height: 300px; background-color: green">
  <div style="width: 300px; height: 300px; background-color: blue"></div>
</div>
